package com.zb.mobile;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2023/11/3 0003
 **/
@Data
@ApiModel("客户工单详情对象")
public class UserOrderDetailVo {
    @ApiModelProperty(value = "工单ID")
    private Long id;

    @ApiModelProperty(value = "工单单号")
    private String workNo;

    @ApiModelProperty(value = "工单状态：1-待客服确认，2-待派单，3-待网点确认，4-处理中，5-已完成，6-已作废")
    private Integer status;

    @ApiModelProperty(value = "模块名称")
    private String module;

    @ApiModelProperty(value = "工单级别")
    private String level;

    @ApiModelProperty(value = "工单级别颜色")
    private String levelColor;

    @ApiModelProperty(value = "工单质保状态：false-保内，true-保外")
    private Boolean overinsured;

    @ApiModelProperty(value = "工单质保天数")
    private Integer warrantyDay;

    @ApiModelProperty("报单时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "期望上门日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date expectedDate;

    @ApiModelProperty(value = "期望开始上门时间")
    @JsonFormat(pattern = "HH:mm")
    private Date expectedStartTime;

    @ApiModelProperty(value = "期望结束上门时间")
    @JsonFormat(pattern = "HH:mm")
    private Date expectedEndTime;

    @ApiModelProperty(value = "预约日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reservationDate;

    @ApiModelProperty(value = "预约开始时间")
    @JsonFormat(pattern = "HH:mm")
    private Date reservationStartTime;

    @ApiModelProperty(value = "预约结束时间")
    @JsonFormat(pattern = "HH:mm")
    private Date reservationEndTime;

    @ApiModelProperty(value = "工程师上门服务时间，即签到时间")
    private Date engineerServiceTime;

    @ApiModelProperty(value = "工单完成时间")
    private Date endTime;
}
